﻿;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; AMPHIBIOUS MINOR SCRIPT (Handle AI Planning)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; USAGE:
;
; Basic structure of an AI planning event:
; { 
; #NAME= Event name (this will be shown as a selectable event under an OPTIONS screen within the game)
; #POPUP= Event popup text (this will be displayed when the event occurs)
; #FLAG= Will this be a default event for the campaign? (values range [0, 1]; True= 1; False= 0)
; #TYPE= Values range [0, 3];
;        With all other fields satisfied will this be:
;        0 = Single check regardless if #TRIGGER is satisfied
;        1 = Multiple check until #TRIGGER is satisfied
;        2 = Reoccuring check until end of game
;                       OR
;        Once the #DATE field is satisfied:
;        3 = Event fires once if all other fields are satisfied, else it will not fire.  Either way, event will be removed never to be looked at again
; #LEVEL= What minimum skill level, as selected from the AI difficulty level screen in game, with this event apply to?
;         Values: [0, 4]; Green= 0; Novice= 1; Intermediate= 2; Veteran= 3; Expert= 4
; #GV= Does the event activate based on the Global Variable values assigned?
;      Ten random Global Variables are assigned at the start of the campaign each with a value between [1,100]
;      Format: GV [min, max]; GV range [1,10]; min range [1,100]; max range [1,100]
;      Example A) #GV= 1[1,100] will always trigger because Global Variable #1 will always have a value between [1,100]
;      Example B) #GV= 4[71,100] will trigger 30% per game
; #LINK= Does the event activate based on the Link values assigned?
;        A campaign can have up to 1100 Decision events and is referenced by other events via this parameter
;        Format: decision[flag]; flag range [0, 1]; True= 1; False= 0
;        Example A) #LINK= 0[0] will always trigger as formal DECISION events can only be from 1-1100
;        Example B) #LINK= 1[0] will trigger whenever #DECISION= 1 is not accepted
;        Example C) #LINK= 3[1] will trigger whenever #DECISION= 3 is accepted
; #TRIGGER= Trigger percentage that the event will occur (values range [0, 100])
; #COUNTRY_ID= Country ID associated with this event
; #SIZE= How many units should be assigned to this plan?
;        Format: min_size, max_size
; #BUILD_LENGTH= How many game turns (Axis or Allied) do you want the build up period of the plan to last?
; #LENGTH= How many game turns (Axis or Allied) should pass before the plan (post #BUILD_LENGTH period) is cancelled?
; #RANGE= How many hexes should we search for units to fulfill this plan?
;         Range checks from both the first listed #FRIENDLY_POSITION and then the #GOAL_POSITION if needed.
; #LONG_RANGE= Should the plan use regular transports or check for long range transports as they are available? (values range [0, 1]; Regular= 0; Long Range= 1)
; #GOAL_POSITION= What is the map position that is the objective of this plan?
; #COASTAL_POSITION= From what coastal position should the transports attempt to disembark towards #GOAL_POSITION?
; #DATE= Date that must be satisfied (in game) for event to occur (format yyyy/mm/dd)
; #STEAL= Set priority by stealing units from other plans
;         Values: [0, 3]; False= 0; Steal_Offensive= 1; Steal_Defensive= 2; Steal_Offensive_Or_Defensive= 3)
; #FRIENDLY_POSITION= Positions that must be under friendly control in order for event to occur
; #VARIABLE_CONDITION= Under what variable conditions will this event occur
;                      Format: country_id [political_alignment] [min_activation%] [surrendered_flag]
; #TACTICAL_CONDITION= Tactical map position (resource) that currently MUST NOT be threatened for event to
;                      occur, i.e. plan owner should have tactical advantage over this position
;                      Format: x,y [tactical_flag]
; #ACTIVATE_POSITION= Condition positions that will serve to ACTIVATE the event.
;                     Looks at distance as well as a selected number of Axis/Allied units as specified by 'alignment' flag
;                     Format: x,y [min_range, max_range] [min_units, max_units] [alignment]
; #CANCEL_POSITION= Condition positions that will serve to CANCEL the event.
;                   Looks at distance as well as a selected number of Axis/Allied units as specified by 'alignment' flag
;                   Format: x,y [min_range, max_range] [min_units, max_units] [alignment]
; }
;
; NOTES:
;
; Each event must be preceded by a '{' and end with a '}'
;
; Plan identity is determined by #COUNTRY_ID and #GOAL_POSITION.  A country can only have a
; single plan based on this criteria and will be assigned the first valid plan regardless of duplicate
; script entries (even if the remaining control '#' values are different).  
; Note:  This will also allow you to set up a variety of plans with the same identity but different 
; control '#' parameters where the first 'event' satisfied will be the fist plan assigned (for added variability).
;
; BUILD_UP_AMPHIBIOUS_MINOR - These plans will only be assigned to fully activated countries and only if the 
; #BUILD_LENGTH value > 0. AI will automatically declare war (as applicable) whenever at least 50% of their transports 
; are within range of the #COASTAL_POSITION. AI will also only load units onto transports only if their strength > 5.  
; Automatic protection routines send transports with strength <= 5 back to the nearest port.
; Note:  Understrengthed units will still be assigned to these plans just not loaded onto transports until they have a
;        strength > 5.
;
; BUILD_UP_AMPHIBIOUSS_MINOR - These plans WILL NOT include HQs as a part of their plan.
;
; #SIZE - This value must be satisfied or the event will not occur.  For example, if the game engine cannot find enough
; enough units to satisfy the #SIZE requirement the event will not be added to the active plan list.
; Note:  #SIZE values refer to the number of units assigned to a plan except for non-core units including:
;              HQ, Anti-Air, Artillery, Rail Gun, Coastal Gun, Rockets, Armoured Train, Anti-Tank, Airships, Fighters, 
;              Tactical Bombers, Medium Bombers, Strategic Bombers, Maritime Bombers, Kamikazes
;        These non-core units are added to the plan (closest available unit without a plan) after all other land units.
;        Therefore, a plan set to #SIZE= 5 would infact end up being a plan with a size equal to 6 after the game engine 
;        includes an HQ and so on.  Essentially, in order to have the plan satisfy the #SIZE requirement keep in mind the 
;        original count does not include available HQ, Rockets, Air Fleet and Bombers as these are added in after the 
;        #SIZE value is satisfied.
;
; #BUILD_LENGTH= - How long do you want the build up period of the plan to last?  For example, a
; BUILD_UP_AMPHIBIOUS plan that has a #LENGTH= 3 will (after 3 AI turns) automatically become an AMPHIBIOUS plan.
;
; #LENGTH - How long do you want the plan (post #BUILD_LENGTH period) to last?
;
; #GOAL_POSITION - This must be either a Town, City, Capital or Fortress etc.
; Note:  If more than one #GOAL_POSITION is listed, these secondary #GOAL_POSITIONs will be considered WAYPOINTS with
;        the top (first) #GOAL_POSITION still representing the final destination position.  For example, this is useful
;        when using NAVAL LOOPs to send units to a specific WAYPOINT or NAVAL LOOP position before continuing to the final
;        #GOAL_POSITION.  If #BUILD_LENGTH > 0 then the transports will gather at the second listed #GOAL_POSITION until
;        the #BUILD_LENGTH period expires.  This is useful to help ensure units move as a group after loading.
;
; #COASTAL_POSITION - This refers to a coastal hex within 5 hexes of #GOAL_POSITION.
;
; #STEAL - Do we steal units available from other plans?
; Note:  This flag will only allow you to steal units from existing OFFENSIVE or DEFENSIVE plans.
;        See STEAL ID REFERENCE VALUES for more details.
;
; #FRIENDLY_POSITION - First position must refer to a coastal tile, subsequent positions can refer to either land or coastal tiles.
; Note:  More than one #FRIENDLY_POSITION can be set.  #FRIENDLY_POSITION refers to the current side associated with this 
;        plan.  Each #FRIENDLY_POSITION will be read using AND logic.
;
;        For all AI scripts that use the #FRIENDLY_POSITION field, the AI picks available units closest to and connected to
;        the first #FRIENDLY_POSITION, within #RANGE, and then sends them to the nearest available position for the script; 
;        e.g., a city for a GUARD script, a port for a TRANSPORT script, etc.  All AI scripts require that the first 
;        #FRIENDLY_POSITION be a land tile, with the exception of Fleet scripts.
;
; #VARIABLE_CONDITION - More than one #VARIABLE_CONDITION can be set.  Under #VARIABLE_CONDITION you can also list 
; countries that have not yet fully entered the war.  For example by listing an activation % less than 100% you
; are providing a check where the #VARIABLE_CONDITION country must meet a minimum activation % (but is
; not yet at 100%) in order for the event to occur.  To check for a fully activated country simply
; list the activation % at 100%.  Each #VARIABLE_CONDITION line will be read using AND logic.
;
; More than one #TACTICAL_CONDITION can be set.  #TACTICAL_CONDITION refers to the current side, i.e.
; country associated with this plan having tactical superiority over the specified map position.
; Tactical superiority can be fine tuned via the TACTICAL_ID flag.  Each #TACTICAL_CONDITION line will
; be read using AND logic.
; Note:  TACTICAL_ID= SEA implies that the port or city in question has an adjacent enemy unit in order for it
;        to be threatened.  For example a land locked city can never be threated by SEA so this can be used as a
;        dummy position.
;
; More than one #ACTIVATE_POSITION can be set.  Distance or range checks will be based on the
; specified x,y position.  For example if the x,y position is a coastal tile then range checks will
; be made on sea tiles, otherwise if it is a land tile range checks will be made on land tiles only.
; Each #ACTIVATE_POSITION line will be read using OR logic.
; Note: Once a plan has been properly activated then all references to #ACTIAVATE_POSITION are removed
;       from the plan as these conditions have been satisfied.  Use #CANCEL_POSITION to set the CANCEL conditions
;       based on unit positions for the event.
;
; More than one #CANCEL_POSITION can be set.  Distance or range checks will be based on the
; specified x,y position.  For example if the x,y position is a coastal tile then range checks will
; be made on sea tiles, otherwise if it is a land tile range checks will be made on land tiles only.
; Each #CANCEL_POSITION line will be read using OR logic.
;
; Use the reference values provided for #COUNTRY_ID and not the country names
; Use the reference values provided for TACTICAL_ID and not tactical names
; Use the reference values provided for POLITICAL ALIGNMENT and not names
; Use the reference values provided for SURRENDER flags and not names
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; COUNTRY ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Country IDs
; #SEA= Sea
; #NEUTRAL= Neutral
; #COUNTRY_ID_3= Albania
; #COUNTRY_ID_4= Algeria
; #COUNTRY_ID_8= Baltic States
; #COUNTRY_ID_10= Belgium
; #COUNTRY_ID_19= Bulgaria
; #COUNTRY_ID_21= Canada
; #COUNTRY_ID_31= Denmark
; #COUNTRY_ID_36= Egypt
; #COUNTRY_ID_39= Finland
; #COUNTRY_ID_40= France
; #COUNTRY_ID_45= Germany
; #COUNTRY_ID_46= Greece
; #COUNTRY_ID_52= Hungary
; #COUNTRY_ID_56= Iraq
; #COUNTRY_ID_57= Ireland
; #COUNTRY_ID_59= Italy
; #COUNTRY_ID_63= Libya
; #COUNTRY_ID_65= Luxembourg
; #COUNTRY_ID_70= Morocco
; #COUNTRY_ID_73= Netherlands
; #COUNTRY_ID_78= Norway
; #COUNTRY_ID_79= Palestine
; #COUNTRY_ID_82= Persia
; #COUNTRY_ID_85= Poland
; #COUNTRY_ID_87= Portugal
; #COUNTRY_ID_93= Romania
; #COUNTRY_ID_95= Saudi Arabia
; #COUNTRY_ID_99= Spain
; #COUNTRY_ID_103= Sweden
; #COUNTRY_ID_105= Syria
; #COUNTRY_ID_109= Trans-Jordan
; #COUNTRY_ID_110= Tunisia
; #COUNTRY_ID_111= Turkey
; #COUNTRY_ID_112= Britain
; #COUNTRY_ID_115= United States
; #COUNTRY_ID_116= Russia
; #COUNTRY_ID_118= Vichy France
; #COUNTRY_ID_120= Yugoslavia
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; LEVEL REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; GREEN= 0
; NOVICE= 1
; BEGINNER= 2
; INTERMEDIATE= 3
; ADVANCED= 4
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; STEAL ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; FALSE= 0
; STEAL_OFFENSIVE= 1
; STEAL_DEFENSIVE= 2
; STEAL_OFFENSIVE_OR_DEFENSIVE= 3
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; TACTICAL ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; ANY= 0
; LAND= 1
; AIR= 2
; NAVAL= 3
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; POLITICAL ALIGNMENT REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NEUTRAL= 0
; AXIS= 1
; ALLIED= 2
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; SURRENDERED FLAG REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NOT_SURRENDERED= 0
; SURRENDERED= 1
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ALLIED SCRIPTS - Britain
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Britain prepares to liberate Northern Ireland 
{
#NAME= Britain Amphibious Minor - Liberate Northern Ireland 
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 9[1]
#TRIGGER= 100
#COUNTRY_ID= 112
#SIZE= 2,3
#BUILD_LENGTH= 1
#LENGTH= 6
#RANGE= 20
#LONG_RANGE= 1
; Belfast
#GOAL_POSITION= 102,15
#COASTAL_POSITION= 102,13
#DATE= 1940/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Halifax 
; 2nd Line - Quebec 
; 3rd Line - St. Johns 
#FRIENDLY_POSITION= 24,31
#FRIENDLY_POSITION= 13,26
#FRIENDLY_POSITION= 39,25
; Set variable conditions:
; 1st Line - Commonwealth politically aligned with Allies and not surrendered
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Set tactical conditions:
; 1st Line - Ottawa not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 7,29 [3]
; Set activate position:
; 1st Line - No Allied unit in Belfast
#ACTIVATE_POSITION= 102,15 [0,0] [0,0] [2]
; Set cancel position:
; 1st Line - Allied unit in Belfast 
#CANCEL_POSITION= 102,15 [0,0] [1,1] [2]
}

; Britain prepares to attack Morocco 
{
#NAME= Britain Amphibious Minor - Morocco (Axis Controls Cairo)
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 9[0]
#TRIGGER= 50
#COUNTRY_ID= 112
#SIZE= 2,3
#BUILD_LENGTH= 2
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 1
; Rabat
#GOAL_POSITION= 92,47
#COASTAL_POSITION= 90,46
#DATE= 1943/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - Liverpool
#FRIENDLY_POSITION= 105,17
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered AND
; 3rd Line - Egypt politically aligned with Allies and surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
#VARIABLE_CONDITION= 36 [2] [100] [1]
; Set tactical conditions:
; 1st Line - London not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 108,21 [3]
; Set activate position:
; 1st Line - Axis unit in Cairo
#ACTIVATE_POSITION= 150,55 [0,0] [1,1] [1]
; Set cancel position:
; 1st Line - Allied unit in Rabat
#CANCEL_POSITION= 92,47 [0,0] [1,1] [2]
}

; Britain prepares to attack Spain
{
#NAME= Britain Amphibious Minor - Spain (Pro-Axis Coup)
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 9[0]
#TRIGGER= 75
#COUNTRY_ID= 112
#SIZE= 2,3
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 0
; Cadiz
#GOAL_POSITION= 93,42
#COASTAL_POSITION= 92,43
#DATE= 1940/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - Liverpool
#FRIENDLY_POSITION= 105,17
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered AND
; 3rd Line - Spain politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
#VARIABLE_CONDITION= 99 [1] [100] [0]
; Set tactical conditions:
; 1st Line - London not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 108,21 [3]
; Set activate position:
; 1st Line - Axis unit in Madrid
#ACTIVATE_POSITION= 99,38 [0,0] [1,1] [1]
; Set cancel position:
; 1st Line - Allied unit in Madrid
#CANCEL_POSITION= 99,38 [0,0] [1,1] [2]
}

; Britain prepares to attack Spain
{
#NAME= Britain Amphibious Minor - Spanish Morocco (Pro-Axis Coup)
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 9[0]
#TRIGGER= 75
#COUNTRY_ID= 112
#SIZE= 1,1
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 1
; Tangier
#GOAL_POSITION= 93,45
#COASTAL_POSITION= 93,44
#DATE= 1940/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - Liverpool
#FRIENDLY_POSITION= 105,17
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered AND
; 3rd Line - Spain politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
#VARIABLE_CONDITION= 99 [1] [100] [0]
; Set tactical conditions:
; 1st Line - London not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 108,21 [3]
; Set activate position:
; 1st Line - Axis unit in Madrid
#ACTIVATE_POSITION= 99,38 [0,0] [1,1] [1]
; Set cancel position:
; 1st Line - Allied unit in Tangier
#CANCEL_POSITION= 93,45 [0,0] [1,1] [2]
}

; Britain prepares to attack Italy:
{
#NAME= Britain Continuous Build Up Amphibious - Italy (Sicily Reinforcements)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 3
#RANGE= 20
#LONG_RANGE= 0
; Messina
#GOAL_POSITION= 124,44
#COASTAL_POSITION= 125,45
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tripoli 
; 2nd Line - Tobruk
; 3rd Line - Alexandria
; 4th Line - Tunis 
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 138,53
#FRIENDLY_POSITION= 148,54
#FRIENDLY_POSITION= 117,45
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and not surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied unit in Sicily
#ACTIVATE_POSITION= 124,46 [3,3] [1,1] [2]
; Set cancel position:
; 1st Line - No Axis units in Sicily
#CANCEL_POSITION= 124,46 [3,3] [0,0] [1]
}

; Britain prepares to attack Italy:
{
#NAME= Britain Continuous Build Up Amphibious - Italy (Continual Reinforcements)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 3
#RANGE= 20
#LONG_RANGE= 0
; Taranto
#GOAL_POSITION= 126,40
#COASTAL_POSITION= 128,41
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tripoli 
; 2nd Line - Tobruk
; 3rd Line - Alexandria
; 4th Line - Tunis 
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 138,53
#FRIENDLY_POSITION= 148,54
#FRIENDLY_POSITION= 117,45
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied units in Southern Italy
#ACTIVATE_POSITION= 126,40 [3,3] [1,1] [2]
; Set cancel position:
; 1st Line - No Axis units in Southern Italy
#CANCEL_POSITION= 126,40 [3,3] [0,0] [1]
}

; Britain prepares to attack Greece:
{
#NAME= Britain Amphibious Minor - Greece (Athens Not Garrisoned)
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 3
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 75
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
; Athens
#GOAL_POSITION= 137,43
#COASTAL_POSITION= 137,45
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tripoli 
; 2nd Line - Tobruk
; 3rd Line - Alexandria
; 4th Line - Tunis 
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 138,53
#FRIENDLY_POSITION= 148,54
#FRIENDLY_POSITION= 117,45
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - No Axis unit in Athens
#ACTIVATE_POSITION= 126,40 [0,0] [0,0] [1]
; Set cancel position:
; 1st Line - Allied unit in Athens
#CANCEL_POSITION= 126,40 [1,1] [1,1] [2]
}

; Britain prepares to attack Greece:
{
#NAME= Britain Amphibious - Greece (Continual Reinforcement)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 3
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
; Athens
#GOAL_POSITION= 137,43
#COASTAL_POSITION= 137,45
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tripoli 
; 2nd Line - Tobruk
; 3rd Line - Alexandria
; 4th Line - Tunis 
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 138,53
#FRIENDLY_POSITION= 148,54
#FRIENDLY_POSITION= 117,45
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied units in Greece
#ACTIVATE_POSITION= 126,40 [2,2] [2,2] [2]
; Set cancel position:
; 1st Line - Allied unit in Athens
#CANCEL_POSITION= 126,40 [0,0] [1,1] [2]
}

; Britain prepares to attack France:
{
#NAME= Britain Amphibious - France Raid (1943)
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 3
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 75
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 3
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 0
; Cherbourg
#GOAL_POSITION= 105,24
#COASTAL_POSITION= 106,24
#DATE= 1943/03/01
#STEAL= 0
; Set friendly positions:
; 1st Line - London
; 2nd Line - Birmingham
; 2nd Line - Manchester
#FRIENDLY_POSITION= 108,21
#FRIENDLY_POSITION= 106,19
#FRIENDLY_POSITION= 107,17
; Set variable conditions:
; 1st Line - France politically aligned with Allies and surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
#VARIABLE_CONDITION= 59 [2] [100] [0]
; Set tactical conditions:
; 1st Line - London not tactically threatened
#TACTICAL_CONDITION= 108,21 [1]
; Set activate position:
; 1st Line - Allied landings at Lorient
#ACTIVATE_POSITION= 102,26 [2,2] [2,2] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

; Britain prepares to attack France:
{
#NAME= Britain Amphibious - France (1944) (D-Day/Continual Reinforcement)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 0
; Cherbourg
#GOAL_POSITION= 105,24
#COASTAL_POSITION= 106,24
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - London
; 2nd Line - Birmingham
; 3rd Line - Manchester
#FRIENDLY_POSITION= 108,21
#FRIENDLY_POSITION= 106,19
#FRIENDLY_POSITION= 107,17
; Set variable conditions:
; 1st Line - Britain politically aligned with Allies and not surrendered AND
; 1st Line - France politically aligned with Allies and surrendered
#VARIABLE_CONDITION= 1 [2] [100] [0]
#VARIABLE_CONDITION= 2 [2] [100] [1]
; Set tactical conditions:
; 1st Line - London not tactically threatened
#TACTICAL_CONDITION= 108,21 [1]
; Set activate position:
; 1st Line - Allied landings at Cherbourg
#ACTIVATE_POSITION= 105,24 [2,2] [2,2] [2]
; Set cancel position:
; 1st Line - Allied unit in Cherbourg
#CANCEL_POSITION= 105,24 [0,0] [1,1] [2]
}

; Britain prepares to attack France:
{
#NAME= Britain Amphibious - France (1944) (D-Day/Calais Raid)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 3
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 112
#SIZE= 1,1
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 0
; Calais
#GOAL_POSITION= 110,23
#COASTAL_POSITION= 109,22
#DATE= 1944/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - London
; 2nd Line - Birmingham
; 3rd Line - Manchester
#FRIENDLY_POSITION= 108,21
#FRIENDLY_POSITION= 106,19
#FRIENDLY_POSITION= 107,17
; Set variable conditions:
; 1st Line - France politically aligned with Allies and surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - London not tactically threatened
#TACTICAL_CONDITION= 108,21 [1]
; Set activate position:
; 1st Line - Allied landings at Cherbourg
#ACTIVATE_POSITION= 105,24 [3,3] [2,2] [2]
; Set cancel position:
; 1st Line - Allied unit in Paris
#CANCEL_POSITION= 109,26 [0,0] [1,1] [2]
}

; Britain prepares to attack Southern France:
{
#NAME= Britain Amphibious Minor - Southern France
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 5
#RANGE= 20
#LONG_RANGE= 1
; Marseille
#GOAL_POSITION= 112,35
#COASTAL_POSITION= 112,36
#DATE= 1944/03/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Taranto
; 2nd Line - Tripoli
#FRIENDLY_POSITION= 126,40
#FRIENDLY_POSITION= 121,52
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Taranto not tactically threatened
#TACTICAL_CONDITION= 126,40 [1]
; Set activate position:
; 1st Line - At least 14 Allied units in Italy
#ACTIVATE_POSITION= 126,40 [7,7] [14,14] [2]
; Set cancel position:
; 1st Line - Allied unit in Marseille
#CANCEL_POSITION= 112,35 [0,0] [1,1] [2]
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ALLIED SCRIPTS - France
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ALLIED SCRIPTS - United States
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; United States prepares to attack Morocco:
{
#NAME= United States Amphibious Minor - Morocco (1942)
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 0
#GV= 3[1,100]
#LINK= 5[1]
#TRIGGER= 40
#COUNTRY_ID= 115
#SIZE= 3,4
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 1
; Rabat
#GOAL_POSITION= 92,47
#COASTAL_POSITION= 92,46
#DATE= 1942/06/01
#STEAL= 0
; Set friendly positions:
; 1st Line - New York
; 2nd Line - Norfolk
#FRIENDLY_POSITION= 10,37
#FRIENDLY_POSITION= 7,43
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Washington D.C. not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 6,40 [1]
; Set activate position 
; 1st Line - Allied unit in Gibraltar
#ACTIVATE_POSITION= 94,44 [0,0] [1,1] [2]
; Set cancel position:
; 1st Line - No Allied unit in Gibraltar
; 2nd Line - Axis units threaten Madrid
; 3rd Line - Axis unit in London
#CANCEL_POSITION= 94,44 [0,0] [0,0] [2]
#CANCEL_POSITION= 99,38 [4,4] [1,1] [1]
#CANCEL_POSITION= 108,21 [0,0] [1,1] [1]
}

; United States prepares to attack Morocco:
{
#NAME= United States Amphibious Minor - Morocco (1943)
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 0
#GV= 3[1,100]
#LINK= 5[1]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 2,3
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 1
; Rabat
#GOAL_POSITION= 92,47
#COASTAL_POSITION= 92,46
#DATE= 1943/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - New York
; 2nd Line - Norfolk
#FRIENDLY_POSITION= 10,37
#FRIENDLY_POSITION= 7,43
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Washington D.C. not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 6,40 [1]
; Set activate position 
; 1st Line - Allied unit in Gibraltar
#ACTIVATE_POSITION= 94,44 [0,0] [1,1] [2]
; Set cancel position:
; 1st Line - No Allied unit in Gibraltar
; 2nd Line - Axis units threaten Madrid
; 3rd Line - Allied unit in Rabat
#CANCEL_POSITION= 94,44 [0,0] [0,0] [2]
#CANCEL_POSITION= 99,38 [4,4] [1,1] [1]
#CANCEL_POSITION= 92,47 [0,0] [1,1] [2]
}

; United States prepares to attack Italy:
{
#NAME= United States Build Up Amphibious Minor - Sicily (North Africa)
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 2,3
#BUILD_LENGTH= 2
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
; Messina
#GOAL_POSITION= 124,44
#COASTAL_POSITION= 123,43
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tunis 
; 2nd Line - Algiers 
; 3rd Line - Oran 
; 4th Line - Tripoli 
#FRIENDLY_POSITION= 117,45
#FRIENDLY_POSITION= 106,45
#FRIENDLY_POSITION= 102,46
#FRIENDLY_POSITION= 121,52
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied unit in Tunis
#ACTIVATE_POSITION= 117,45 [0,0] [1,1] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

; United States prepares to attack Italy:
{
#NAME= United States Continuous Build Up Amphibious Minor - Sicily (North Africa/Continual Reinforcement)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
; Messina
#GOAL_POSITION= 124,44
#COASTAL_POSITION= 123,43
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tunis 
; 2nd Line - Algiers 
; 3rd Line - Oran 
; 4th Line - Tripoli 
#FRIENDLY_POSITION= 117,45
#FRIENDLY_POSITION= 106,45
#FRIENDLY_POSITION= 102,46
#FRIENDLY_POSITION= 121,52
; Set variable conditions:
; 1st Line - United States politically aligned with Allies and not surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 115 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied unit in Sicily
#ACTIVATE_POSITION= 124,46 [3,3] [1,1] [2]
; Set cancel position:
; 1st Line - No Axis units in Sicily
#CANCEL_POSITION= 124,46 [3,3] [0,0] [1]
}

; United States prepares to attack Italy:
{
#NAME= United States Build Up Amphibious - Italy (North Africa/Continual Reinforcement)(1) 
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 3
#RANGE= 20
#LONG_RANGE= 0
; Naples
#GOAL_POSITION= 123,39
#COASTAL_POSITION= 124,41
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tunis 
; 2nd Line - Algiers 
; 3rd Line - Tripoli 
; 4th Line - Alexandria
#FRIENDLY_POSITION= 117,45
#FRIENDLY_POSITION= 106,45
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 148,54
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied units in Southern Italy
#ACTIVATE_POSITION= 126,40 [3,3] [1,1] [2]
; Set cancel position:
; 1st Line - No Axis units in Southern Italy
#CANCEL_POSITION= 126,40 [3,3] [0,0] [1]
}

; United States prepares to attack Italy:
{
#NAME= United States Build Up Amphibious - Italy (North Africa/Continual Reinforcement)(2) 
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 3
#RANGE= 20
#LONG_RANGE= 0
; Rome
#GOAL_POSITION= 121,37
#COASTAL_POSITION= 120,38
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tunis 
; 2nd Line - Algiers 
; 3rd Line - Tripoli 
; 4th Line - Messina
#FRIENDLY_POSITION= 117,45
#FRIENDLY_POSITION= 106,45
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 124,44
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Cairo not tactically threatened 
#TACTICAL_CONDITION= 150,55 [1]
; Set activate position:
; 1st Line - Allied units in Southern Italy
#ACTIVATE_POSITION= 126,40 [3,3] [1,1] [2]
; Set cancel position:
; 1st Line - No Axis units in Southern Italy
#CANCEL_POSITION= 126,40 [3,3] [0,0] [1]
}

; United States prepares to attack France:
{
#NAME= United States Amphibious - France Raid (1943)
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 3
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 75
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 1
; Lorient
#GOAL_POSITION= 102,26
#COASTAL_POSITION= 102,25
#DATE= 1943/03/01
#STEAL= 0
; Set friendly positions:
; 1st Line - London
; 2nd Line - Birmingham
; 3rd Line - Manchester
#FRIENDLY_POSITION= 108,21
#FRIENDLY_POSITION= 106,19
#FRIENDLY_POSITION= 107,17
; Set variable conditions:
; 1st Line - France politically aligned with Allies and surrendered AND
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
#VARIABLE_CONDITION= 59 [2] [100] [0]
; Set tactical conditions:
; 1st Line - London not tactically threatened
#TACTICAL_CONDITION= 108,21 [1]
; Set activate position:
; 1st Line - Allied landings at Cherbourg
#ACTIVATE_POSITION= 105,25 [2,2] [2,2] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

; United States prepares to attack France:
{
#NAME= United States Amphibious - France (1944) (D-Day/Continual Reinforcement)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 1
; Lorient
#GOAL_POSITION= 102,26
#COASTAL_POSITION= 102,25
#DATE= 1943/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - London
; 2nd Line - Birmingham
; 3rd Line - Manchester
#FRIENDLY_POSITION= 108,21
#FRIENDLY_POSITION= 106,19
#FRIENDLY_POSITION= 107,17
; Set variable conditions:
; 1st Line - France politically aligned with Allies and surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - London not tactically threatened
#TACTICAL_CONDITION= 108,21 [1]
; Set activate position:
; 1st Line - Allied landings at Lorient
#ACTIVATE_POSITION= 102,26 [4,4] [3,3] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

; United States prepares to attack France:
{
#NAME= United States Build Up Amphibious - France (1944) (D-Day/Continual Reinforcement) (US)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 1
; La Rochelle
#GOAL_POSITION= 104,29
#COASTAL_POSITION= 103,29
#DATE= 1944/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - New York
; 2nd Line - Norfolk
#FRIENDLY_POSITION= 10,37
#FRIENDLY_POSITION= 7,43
; Set variable conditions:
; 1st Line - France politically aligned with Allies and surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Washington D.C. not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 6,40 [1]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

; United States prepares to attack France:
{
#NAME= United States Build Up Amphibious - France (1944) (D-Day/Calais Raid)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 3
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 115
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 10
#LONG_RANGE= 1
; Calais
#GOAL_POSITION= 110,23
#COASTAL_POSITION= 109,22
#DATE= 1944/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - London
; 2nd Line - Birmingham
; 3rd Line - Manchester
#FRIENDLY_POSITION= 108,21
#FRIENDLY_POSITION= 106,19
#FRIENDLY_POSITION= 107,17
; Set variable conditions:
; 1st Line - France politically aligned with Allies and surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - London not tactically threatened
#TACTICAL_CONDITION= 108,21 [1]
; Set activate position:
; 1st Line - Allied landings at Lorient
#ACTIVATE_POSITION= 102,26 [3,3] [2,2] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

; United States prepares to attack Southern France:
{
#NAME= United States Build Up Amphibious Minor - Southern France
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#SIZE= 1,3
#BUILD_LENGTH= 2
#LENGTH= 5
#RANGE= 10
#LONG_RANGE= 1
; Marseille
#GOAL_POSITION= 112,35
#COASTAL_POSITION= 110,35
#DATE= 1944/03/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Taranto
; 2nd Line - Tripoli
; 3rd Line - Algiers
#FRIENDLY_POSITION= 126,40
#FRIENDLY_POSITION= 121,52
#FRIENDLY_POSITION= 106,45
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and surrendered 
; 2nd Line - France politically aligned with Allies and surrendered 
#VARIABLE_CONDITION= 59 [1] [100] [1]
#VARIABLE_CONDITION= 40 [2] [100] [1]
; Set tactical conditions:
; 1st Line - Taranto not tactically threatened
#TACTICAL_CONDITION= 126,40 [1]
; Set activate position:
; 1st Line - At least 14 Allied units in Italy
#ACTIVATE_POSITION= 126,40 [7,7] [14,14] [2]
; Set cancel position:
; 1st Line - Allied unit in Marseille
#CANCEL_POSITION= 112,35 [0,0] [1,1] [2]
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ALLIED SCRIPTS - Russia
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

{
#NAME= Russia Amphibious Minor - Romania (Default Strategy)
#POPUP=
#FLAG= 1
#TYPE= 0
#COUNTRY_ID= 116
#TRIGGER= 50
#LEVEL= 3
#GV= 4[1,100]
#LINK= 0[0]
#TRIGGER= 30
#COUNTRY_ID= 115
#SIZE= 2,3
#BUILD_LENGTH= 2
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 141,32
#COASTAL_POSITION= 143,33
#DATE= 1944/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - Sevastapol
; 2nd Line - Dnepropetrovsk
#FRIENDLY_POSITION= 149,31
#FRIENDLY_POSITION= 149,26
; Set variable conditions:
; 1st Line - Russia politically aligned with Allies and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
; Set tactical conditions:
; 1st Line - Moscow not tactically threatened
#TACTICAL_CONDITION= 152,15 [1]
; Set activate position:
: 1st Line - Allied units approaching Kishinev
#ACTIVATE_POSITION= 143,27 [2,2] [2,2] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

{
#NAME= Russia Amphibious Minor - Germany (Default Strategy)
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 3
#GV= 4[1,100]
#LINK= 0[0]
#TRIGGER= 30
#COUNTRY_ID= 115
#SIZE= 2,3
#BUILD_LENGTH= 2
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 122,19
#COASTAL_POSITION= 123,18
#DATE= 1944/01/01
#STEAL= 0
; Set friendly positions:
; 1st Line - Parnu
; 2nd Line - Konigsberg
#FRIENDLY_POSITION= 135,11
#FRIENDLY_POSITION= 131,17
; Set variable conditions:
; 1st Line - Russia politically aligned with Allies and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
; Set tactical conditions:
; 1st Line - Moscow not tactically threatened
#TACTICAL_CONDITION= 152,15 [1]
; Set activate position:
: 1st Line - Allied unit in Warsaw
#ACTIVATE_POSITION= 131,21 [0,0] [1,1] [2]
; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no
; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION
#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; AXIS SCRIPTS - Germany
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Germany prepares to attack Britain:
{
#NAME= Germany Amphibious - Britain (Sealion 1941- )(Continual Reinforcement)
#POPUP=
#FLAG= 1
#TYPE= 2
#LEVEL= 3
#GV= 5[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 45
#SIZE= 1,2
#BUILD_LENGTH= 2
#LENGTH= 3
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 108,21
#COASTAL_POSITION= 109,22
#DATE= 1941/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Kiel
#FRIENDLY_POSITION= 119,18
; Set variable conditions:
; 1st Line - Russia politically aligned with Allies and not surrendered
; 2nd Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Berlin not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 123,21 [3]
; Set activate position (Axis units in range of London)
#ACTIVATE_POSITION= 108,20 [2,2] [1,2] [1]
; Set cancel position:
; 1st Line - Axis unit in London
; 2nd Line - Allied unit in Messina
#CANCEL_POSITION= 108,21 [0,0] [1,1] [1]
#CANCEL_POSITION= 124,44 [0,1] [1,1] [1]
}

; Germany prepares to attack Russia:
{
#NAME= Germany Amphibious Minor - Parnu
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 3
#GV= 5[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 45
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 5
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 135,11
#COASTAL_POSITION= 133,12
#DATE= 1941/03/21
#STEAL= 3
; Set friendly positions:
; 1st Line - Danzig
#FRIENDLY_POSITION= 129,18
; Set variable conditions:
; 1st Line - Russia politically aligned with Allies and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
; Set tactical conditions:
; 1st Line - Berlin not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 123,21 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set cancel position:
; 1st Line - Axis unit in Parnu
#CANCEL_POSITION= 135,11 [0,0] [1,1] [1]
}

{
#NAME= Germany Amphibious Minor - Turkey
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 3
#GV= 5[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 45
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 30
#LONG_RANGE= 0
#GOAL_POSITION= 146,38
#COASTAL_POSITION= 146,37
#DATE= 1939/12/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Constanta
#FRIENDLY_POSITION= 143,32
; Set variable conditions:
; 1st Line - Turkey politically aligned with Allies and not surrendered
; 2nd Line - United States politically aligned with Allies (not fully active) and not surrendered
#VARIABLE_CONDITION= 111 [2] [100] [0]
#VARIABLE_CONDITION= 115 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Berlin not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 123,21 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set cancel position:
; 1st Line - Axis unit in Izmit
#CANCEL_POSITION= 146,38 [0,0] [1,1] [1]
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; AXIS SCRIPTS - Italy
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Italy prepares to attack Greece:
{
#NAME= Italy Amphibious Minor - Greece (Crete)
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 3
#GV= 6[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 59
#SIZE= 1,1
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 139,47
#COASTAL_POSITION= 137,47
#DATE= 1940/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Tirana
; 2nd Line - Taranto
#FRIENDLY_POSITION= 131,39
#FRIENDLY_POSITION= 126,40
; Set variable conditions:
; 1st Line - Greece politically aligned with Allies and not surrendered
; 2nd Line - United States politically aligned with Allies (not fully active) and not surrendered
#VARIABLE_CONDITION= 46 [2] [100] [0]
#VARIABLE_CONDITION= 115 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Rome not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 121,37 [3]
; Set activate position: 
; 1st Line - Axis unit advancing on Athens
#ACTIVATE_POSITION= 137,43 [3,3] [1,1] [1]
; Set cancel position:
; 1st Line - Axis unit in Suda Bay
#CANCEL_POSITION= 139,47 [0,0] [1,1] [1]
}

; Italy prepares to attack Turkey:
{
#NAME= Italy Amphibious Minor - Turkey
#POPUP=
#FLAG= 1
#TYPE= 0
#LEVEL= 3
#GV= 6[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 59
#SIZE= 1,2
#BUILD_LENGTH= 1
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 142,43
#COASTAL_POSITION= 141,41
#DATE= 1940/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Salonika
#FRIENDLY_POSITION= 137,39
; Set variable conditions:
; 1st Line - Turkey politically aligned with Allies and not surrendered
; 2nd Line - United States politically aligned with Allies (not fully active) and not surrendered
#VARIABLE_CONDITION= 111 [2] [100] [0]
#VARIABLE_CONDITION= 115 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Rome not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 121,37 [3]
; Set dummy activate position (no units at position 0,0)
#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Set cancel position:
; 1st Line - Axis unit in Izmir
#CANCEL_POSITION= 142,43 [0,0] [1,1] [1]
}

; Italy reacts to Free French Algeria:
{
#NAME= Italy Amphibious Minor - Algeria
#POPUP=
#FLAG= 1
#TYPE= 1
#LEVEL= 3
#GV= 6[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 59
#SIZE= 2,3
#BUILD_LENGTH= 2
#LENGTH= 10
#RANGE= 20
#LONG_RANGE= 0
#GOAL_POSITION= 106,45
#COASTAL_POSITION= 106,44
#DATE= 1940/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Naples
#FRIENDLY_POSITION= 123,39
; Set variable conditions:
; 1st Line - Algeria politically aligned with Allies and not surrendered
; 2nd Line - United States politically aligned with Allies (not fully active) and not surrendered
#VARIABLE_CONDITION= 4 [2] [100] [0]
#VARIABLE_CONDITION= 115 [2] [0] [0]
; Set tactical conditions:
; 1st Line - Rome not tactically threatened (dummy condition)
#TACTICAL_CONDITION= 121,37 [3]
; Set activate position (no units in Tunis)
#ACTIVATE_POSITION= 117,45 [0,0] [0,0] [0]
; Set cancel position:
; 1st Line - Axis unit in Tunis
; 2nd Line - Allied unit in Tunis
#CANCEL_POSITION= 117,45 [0,0] [1,1] [1]
#CANCEL_POSITION= 117,45 [0,0] [1,1] [2]
}
